package com.fangcun.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.fangcun.bean.api.goods.response.GoodsPriceResponse;
import com.fangcun.entity.GoodsPrice;

public interface GoodsPriceMapper {
	int deleteByPrimaryKey(Long id);

	int insert(GoodsPrice record);

	int insertSelective(GoodsPrice record);

	GoodsPrice selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(GoodsPrice record);

	int updateByPrimaryKey(GoodsPrice record);

	GoodsPriceResponse listForGoodsId(Long goodsId);

	int updateBlanceNumberById(@Param("id") Long id, @Param("number") Integer number);
	
	List<GoodsPrice> listForAdmin(GoodsPrice request);
}